package com.ziyucoding.springboot.labs.springwebsocket.message;

/**
 * 用户认证响应
 *
 * @author ziyucoding
 * @date 2023-07-16
 **/
public class AuthResponse implements Message {

    public static final String TYPE = "AUTH_RESPONSE";

    /**
     * 响应状态码
     */
    private Integer code;

    /**
     * 响应提示
     */
    private String msg;

    public Integer getCode() {
        return code;
    }

    public AuthResponse setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public AuthResponse setMsg(String msg) {
        this.msg = msg;
        return this;
    }
}
